const express = require('express')
const cors = require('cors')
const usersRouter = require('./routes/users')
const app = express()

app.use(cors())
app.use(express.json())
app.use(express.urlencoded({extended: false}))

app.use('/users2', usersRouter)
app.listen(3006)
